From c440e111aa9283afba3446002cca19c4f23d2d12 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Thu, 26 May 2011 22:50:57 +0200 Subject: [PATCH] mask out unwanted formats with if(0) {...} premature return statements make source code checkers unhappy --- babl/base/model-ycbcr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/babl/base/model-ycbcr.c b/babl/base/model-ycbcr.c index 13f3581..6a6370e 100644 --- a/babl/base/model-ycbcr.c +++ b/babl/base/model-ycbcr.c @@ -253,8 +253,10 @@ formats (void) babl_sampling (2, 2), babl_component_from_id (BABL_CR), NULL); - return; +/* deactivate these for now */ +if (0) +{ babl_format_new ( "name", "y'cbcr420", "id", BABL_YCBCR420, @@ -301,3 +303,4 @@ formats (void) babl_component_from_id (BABL_CR), NULL); } +} -- 2.30.2